package com.kkmp4.repository;


import com.kkmp4.model.User;
import org.springframework.data.repository.Repository;

import java.util.List;

/**
 * Created by zhangsen on 2016/11/3.
 */
public interface UserRepository extends Repository<User,Long>{

    List<User> findUserByName(String name);
    User save(User user);

}
